package day03;

/**
 * 演示字符串连接
 */
public class OperDemo5 {
    public static void main(String[] args) {
        int age = 18;
        System.out.println("age");
        System.out.println(age);
        System.out.println("我今年"+age+"岁了");

        String name = "美美";
        System.out.println("名字"+name);

        System.out.println(10+20+30+"");//输出60
        System.out.println(10+20+""+30);//输出3030
        System.out.println(""+10+20+30);//输出102030
    }
}
